<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="SiftNotGenrate, App_Web_xtpq4zcp" %>

<%@ Register   Assembly="AjaxControlToolkit"
    Namespace="AjaxControlToolkit"
    TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">

.green-colour{
background-color:#8dc234;
font-family:Tahoma;
font-size:17px;
padding-left:4px;
color:#ffffff;
margin:2px;
text-decoration:none;
font-weight:bold;
}
.user{
font-family:Tahoma;
font-size:12px;
color:#124c56;
margin:4px;
text-decoration:none;
}
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    

  <br />
  <br />
  <br />

  <div class="row" >	
					<div class="col-lg-12">
                        <div class="panel panel-primary grid_height" style="height:auto;" >
                            <div class="panel-heading">
                                <h3 class="panel-title"><i class="fa fa-list fa-fw"></i>Genrate Shift for Employee<asp:Label 
                                        ID="Label3" runat="server" Text="Label" Visible="false"></asp:Label>
                                </h3>
                            </div>
                            
                              <div class="panel-body grid_height" style=" height:460px; overflow:scroll;">   
                             <div class="panel-body"> 
                             <div class="table-responsive"  >
                            
                          
                             
                             <asp:GridView ID="Grid1" runat="server" class="table table-bordered table-hover table-striped"
          AutoGenerateColumns="False"  DataKeyNames="empid" ondatabound="Grid1_DataBound">
         
         
          <Columns>
              <asp:TemplateField HeaderText="Select">
                 
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server"  />
                  </ItemTemplate>
                
              </asp:TemplateField>
               <asp:BoundField DataField="Empcode" HeaderText="Empcode" SortExpression="Empcode"></asp:BoundField>
              
            
               <asp:BoundField DataField="EmpName" HeaderText="Employee Name" SortExpression="Father Name"></asp:BoundField>
                <asp:BoundField DataField="ShiftStartDate" HeaderText="Shift Start Date" SortExpression="Father Name">
               
            </asp:BoundField>
           
           
           </Columns>
         
      </asp:GridView>
      <script type="text/javascript" src="jquery.min.js" ></script>
    <script type="text/javascript" src="quicksearch.js"></script>
    <script type="text/javascript">
        $(function () {
            $('.search_textbox').each(function (i) {
                $(this).quicksearch("[id*=Grid1] tr:not(:has(th))", {
                    'testQuery': function (query, txt, row) {
                        return $(row).children(":eq(" + i + ")").text().toLowerCase().indexOf(query[0].toLowerCase()) != -1;
                    }
                });
            });
        });
    </script>
    
                              <%--   <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />
                                 <br />--%>
                                <%-- <br />
                                 <br />
    
    
     <br />
                                      <br />      
                                      <br />--%>
                        
                                             
                                            </div>  
                                            </div>
                                            </div>
                                            </div>
                                            </div>
                                                                  
                               <center>
            
               <asp:Button ID="BtSelect" runat="server" Text="Select All/Un-Select All"
        type="button" class="btn btn-success " Visible="False" />
            
               <asp:Button ID="Btnadd" runat="server" Text="Genrate Shift"  OnClick="Btnadd_Click" onclientclick="return validate()"
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>
                                   <i  class="fa fa-trash-o;"></i>
            <asp:Button ID="Button1" runat="server" type="button" Text="Close"  onclick="Button1_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>
            </center>
                          
                      
                       
                    </div>
				
</asp:Content>


